package io.lvdaxian.factoryBean;

import io.lvdaxian.factoryBean.po.User;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main_FactoryBeanTest {
  public static void main(String[] args) {
    ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("factoryBeanTest.xml");
    User bean = context.getBean(User.class);
    System.out.println(bean);
  }
}
